import { useSelector } from 'react-redux'

function useChecked() {
  let checked = useSelector(state => state.getIn(['map', 'checked']))

  return {
    checked
  }
}

export default useChecked